Conversation
Added the command functionnalities to ChatClient and EchoServer and created ServerConsole.java
The Changes made were to ChatClient.java, ClientConsole.java and EchoServer.java. ServerConsole.java was written by modifying ClientConsole.java to allow the server to interact with the command line. All changes made to these files were made in order to add the functionnalities depicted in the layout for SEG2105 - assignment 1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The files modified from the original code included EchoServer.java, ClientConsole.java and ChatClient.java. Functionalities described in the instructions for SEG2105 Assignment 1 were added such as connection and disconnection messages, commands and login ID's.
ServerConsole.java was created and added as an analogous class to EchoServer as ClientConsole to ChatClient. This allows the Server host to be able to communicate with the users directly from an instance of ServerConsole.
Below are the logs of the testcases:
Testcases_Fortin_6338858.docx